package cn.hl.hm.constants;

/**
 * 0 test 1 online
 * 
 * @author 大和
 *
 */
public class ModelConfig { 
	public static String status = "1";
	
	public static String ENV_TEST = "http://hmtest.hlvan.cn/";
	public static String ENV_ONLINE = "http://hm.hlvan.cn/";

	
	/**************************微信刷卡支付与支付宝刷卡支付**************************/

	public static String SCAN_MER_BACK_TEST = "http://hmtest.hlvan.cn/zfbScanCallbackController/callback";
	public static String SCAN_MER_BACK_ONLINE = "http://hm.hlvan.cn/zfbScanCallbackController/callback";
	
	//public static String QR_PIC_WINDOW = "C://2017//worktest//apache-tomcat-7.0.73//webapps//";
	
 public static String QR_PIC_DRIVER_SHORT = "/hlvan/upload/hm/dirver_qr_pic/";
	 
	public static String QR_PIC_DRIVER_LONG_TEST = "http://hmtest.hlvan.cn/upload/dirver_qr_pic/";
	public static String QR_PIC_DRIVER_LONG_ONLINE = "http://hm.hlvan.cn/upload/dirver_qr_pic/";

	
	public static String QR_PIC_WINDOW = "/hlvan/upload/hm/pay_pic/";
	
	public static String QR_PIC_LINUX = "/hlvan/upload/hm/pay_pic/";
	public static String QR_lONG_PIC_TEST = "http://hmtest.hlvan.cn/upload/pay_pic/";
	public static String QR_LONG_PIC_ONLINE = "http://hm.hlvan.cn/upload/pay_pic/";

	public static String cp_test = "/cp.properties";

	public static String cp_onlie = "/cp.properties";
	
	
	
/**************************微信JS如下**************************/

 // 第三方用户唯一凭证                               
 public static String appid = "wx489321bacf87bcef";
 // 第三方用户唯一凭证密钥
 public static String appsecret = "c5504674e103380340d4d8ace0a912f9";
 //商户ID
 public static String mch_id="1346279501";
 //
 public static String key="hlVAN20160713dingcq0987651234dao";
	
 //TEST
 public static String wx_js_notify_url_online = "http://hm.hlvan.cn/wxScanCallbackController/callback";
 //NORMAL
 public static String wx_js_notify_url_test = "http://hmtest.hlvan.cn/wxScanCallbackController/callback";

 
 //TEST
 public static String wx_js_online = "http%3a%2f%2fst.hlvan.cn%2fpayment%2fjs_api_call.jsp";
 //NORMAL
 public static String wx_js_test = "http%3a%2f%2fsttest.hlvan.cn%2fpayment%2fjs_api_call.jsp";

 

 //获取openId
// public static String oauth_url = "https://api.weixin.qq.com/sns/oauth/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code";
 public static String oauth_url = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code";

 
 
 
 /**************************支付宝JS**************************/
 /**
	 * 新疆正式
	 */  
	// 01【 新疆 正式环境】合作身份者ID，签约账号，以2088开头由16位纯数字组成的字符串，查看地址：https://b.alipay.com/order/pidAndKey.htm
	public static String partner = "2088421497892509";//【新疆 正式环境】
	//02 【新疆 正式环境】 商户的私钥,需要PKCS8格式，RSA公私钥生成：https://doc.open.alipay.com/doc2/detail.htm?spm=a219a.7629140.0.0.nBDxfy&treeId=58&articleId=103242&docType=1
	//public static String private_key = "MIICdgIBADANBgkqhkiG9w0BAQEFAASCAmAwggJcAgEAAoGBALQljjoYz926y8E/JIkpfYOMuHrWOzjuyfyst2F7HdzGomrrdDRQhJwWEGrRsKWmvyWtPfQ87UpIurSmMqYWgwXrQiKz+nW38igD39IfgJn4U9Y7FUMhWcDU1j/+xfTlLU+ehJjk6/vDhRfwVfluTsbD3MVc3UmVRFEihefWV4ktAgMBAAECgYBsLOkdJe0cnqDf6ETOQKXoKsZUrPRfGbUdD7IGzWF/Q6AgSEc9auRWvkEZg9Vpg5ngzAkZ8sQjCU1kUTC032vJTb2RJwSsIpoc46HTtRUJqHjsrfP7lAYISlIb7nZIhacYClBzrXJ90dD3wZBF0/huDPULjxf1EYWYgAUb1c51wQJBAOQJu9K9ip902xQnYV5zIzmaNVrBBSWzjGEVKFLuw2v6W5kIndVEZeH8GX7SDj/rgTDeGmUmxiEjuH9mHoktFjkCQQDKPHsypLSdMOU8BScBwpKkUuSgk0DOYGdRxO3GZJFYaoIl0wFifSoNGdNFvHBF6IwXztOIQim57Bmsi8jDFmqVAkEAlhtiK8Lg8T32yDlz+rxHv68m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IrQ5x9kr8=";
	//03 【新疆 正式环境】支付宝的公钥,查看地址：https://b.alipay.com/order/pidAndKey.htm  //新疆账户 正式环境
	//public static String alipay_public_key  = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDDI6d306Q8fIfCOaTXyiUeJHkrIvYISRcc73s3vF1ZT7XN8RNPwJxo8pWaJMmvyTn9N4HQ632qJBVHf8sxHi/fEsraprwCtzvzQETrNRwVxLO5jVmRGi60j8Ue1efIlzPXV9je9mkjzOmdssymZkh2QhUrCmZYI/FCEa3/cNMW0QIDAQAB";
	public static String alipay_public_key  = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDDI6d306Q8fIfCOaTXyiUeJHkrIvYISRcc73s3vF1ZT7XN8RNPwJxo8pWaJMmvyTn9N4HQ632qJBVHf8sxHi/fEsraprwCtzvzQETrNRwVxLO5jVmRGi60j8Ue1efIlzPXV9je9mkjzOmdssymZkh2QhUrCmZYI/FCEa3/cNMW0QIDAQAB";
	// 收款支付宝账号，以2088开头由16位纯数字组成的字符串，一般情况下收款账号就是签约账号
	
	public static String seller_id = partner;
	
	//04 服务器异步通知页面路径  需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
	//public static String notify_url = "http://apitest.hlvan.cn:8001/paymentCallback";
	public static String zfb_js_notify_url_test = "http://hmtest.hlvan.cn/zfbCallBackController/callback";
	public static String zfb_js_notify_url_online = "http://hm.hlvan.cn/zfbCallBackController/callback";

	//05 页面跳转同步通知页面路径 需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
	//public static String return_url = "http://apitest.hlvan.cn:8001/alipayment/return_url.jsp";
	public static String zfb_return_url_test = "http://hmtest.hlvan.cn/payment/return_url.jsp";
	public static String zfb_return_url_online = "http://hm.hlvan.cn/payment/return_url.jsp";

	// 签名方式
	public static String sign_type = "RSA";
	
	// 调试用，创建TXT日志文件夹路径，见AlipayCore.java类中的logResult(String sWord)打印方法。
	public static String log_path = "C:\\";
		
	// 字符编码格式 目前支持utf-8
	public static String input_charset = "utf-8";
		
	// 支付类型 ，无需修改
	public static String payment_type = "1";
		
	// 调用的接口名，无需修改
	public static String service = "alipay.wap.create.direct.pay.by.user";

}
